package com.class05.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/12/13 17:02
 */
@RestController
@RequestMapping("hello")
public class HelloController {
    @GetMapping("test1")
    public String data1(){
        return "hello test1";
    }
    @GetMapping("test2")
    public String data2(){
        return "hello test2";
    }

    @GetMapping("test3")
    public String data3(){
        return "hello test3";
    }
}
